<?php
class Index extends Controller
{
	public function _default()
	{
		if ($this->isLogin()){
			$this->show();
		}else{
			$this->login();
		}
	}
	
	public function login()
	{
		$this->display('login.tpl');
	}
	
	public function Show()
	{
		$this->display('index.tpl');
	}
	
	public function test()
	{
		$this->display('page.tpl');
	}
}